
#include <iostream>
using namespace std;

#if defined(__GNUC__) || defined(__MINGW32__) || defined(__MINGW__)
    #pragma GCC diagnostic push
    #pragma GCC diagnostic ignored "-Weffc++"
    #pragma GCC diagnostic ignored "-Wctor-dtor-privacy"
    #pragma GCC diagnostic ignored "-Wold-style-cast"
    #pragma GCC diagnostic ignored "-Wsign-conversion"
#endif

#include <boost/filesystem.hpp>
namespace fs = boost::filesystem;

#if defined(__GNUC__) || defined(__MINGW32__) || defined(__MINGW__)
    #pragma GCC diagnostic pop
#endif



int main()
{
    cout<<"WELLCOME TO EXAMPLE APPLICATION!\n";
    
    fs::path p = fs::current_path();
    std::vector<fs::path> files;
    std::copy( fs::directory_iterator(p), fs::directory_iterator(), std::back_inserter(files) );
    std::copy( files.begin(), files.end(), std::ostream_iterator< fs::path > (std::cout, "\n") );

}

